package com.asset.modules.common.utils;

/**
 * 常量
 * @author dolyw.com
 * @date 2018/9/3 16:03
 */
public class Constant {

    /**
     * redis-OK
     */
    public final static String OK = "OK";

    /**
     * redis过期时间，以秒为单位，一分钟
     */
    public final static int EXRP_MINUTE = 60;

    /**
     * redis过期时间，以秒为单位，一小时
     */
    public final static int EXRP_HOUR = 60 * 60;

    /**
     * redis过期时间，以秒为单位，一天
     */
    public final static int EXRP_DAY = 60 * 60 * 24;

    /**
     * redis-key-前缀-shiro:cache:
     */
    public final static String PREFIX_SHIRO_CACHE = "shiro:cache:";

    /**
     * redis-key-前缀-shiro:access_token:
     */
    public final static String PREFIX_SHIRO_ACCESS_TOKEN = "shiro:access_token:";

    /**
     * redis-key-前缀-shiro:refresh_token:
     */
    public final static String PREFIX_SHIRO_REFRESH_TOKEN = "shiro:refresh_token:";

    /**
     * JWT-account:
     */
    public final static String ACCOUNT = "account";

    /**
     * JWT-currentTimeMillis:
     */
    public final static String CURRENT_TIME_MILLIS = "currentTimeMillis";

    /**
     * PASSWORD_MAX_LEN
     */
    public static final Integer PASSWORD_MAX_LEN = 8;

    /**
     * 性别(性别:男)
     */
    public static final String SEX_MALE="male";

    /**
     * 性别(性别:女)
     */
    public static final String SEX_FEMALE="female";


    /**
     * 低值
     */
    public static final double LOW_VALUE=2000;

    /**
     * 未盘点
     */
    public static final String unCheckedStatus = "0";

    /**
     * 已盘点
     */
    public static final String checkedStatus = "1";

    /**
     * 已报废
     */
    public static final String discardStatus = "-1";

    public static final String lowValueStatus = "-2";

    /******************************************msg*****************************/

    public static final String SUCCESS_REQUEST = "请求成功！";

    public static final String NO_RESULT = "查询结果为空！";

    public static final String FAILED_OPERATION = "操作失败！";

    public static final String SUCCESS_OPERATION = "操作成功！";

    /*************************************导出excel 标题*****************************/
    public static final String EXCEL_TITLE = "保利江苏房地产发展有限公司固定资产盘点表";



    /*************************************登陆/注册消息*****************************/
    public static final String NO_USER = "该账号不存在！";

    /********************************地方电话号码前缀*****************************/

    public static final String NANJING_CODE = "025";
    public static final String ZHENGJIANG_CODE = "0511";
    public static final String CHANGZHOU_CODE  = "0519";
    public static final String WUXI_CODE    = "0510";
    public static final String YANCHENG_CODE= "0515";


}
